package com.bbzn.device.client.dao.device;

import com.bbzn.device.client.dataobject.DeviceProcess;

import java.util.Date;
import java.util.List;

import com.bbzn.device.client.dto.device.DeviceProcessDTO;
import org.apache.ibatis.annotations.Param;

public interface DeviceProcessMapper {
    int deleteByPrimaryKey(Long id);

    int deleteDeviceProcessSelective(DeviceProcess record);

    int insert(DeviceProcess record);

    int insertOrUpdate(DeviceProcess record);

    int insertOrUpdateSelective(DeviceProcess record);

    int insertSelective(DeviceProcess record);

    DeviceProcess selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DeviceProcess record);

    int updateByPrimaryKey(DeviceProcess record);

    List<DeviceProcess> findByAll(DeviceProcess deviceProcess);

    List<String> findByImeisByOperatorId(@Param("operatorId") Long operatorId);

    int updateBatch(List<DeviceProcess> list);

    int updateBatchSelective(List<DeviceProcess> list);

    int batchInsert(@Param("list") List<DeviceProcess> list);

    List<DeviceProcess> selectByimeis(DeviceProcessDTO recordDTO);
}